package com.eryos.gwt.mailmodule.client;

import com.eryos.gwt.mailmodule.shared.CaptchaCheck;
import com.eryos.gwt.mailmodule.shared.MailMessage;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface MailServiceAsync {

	void sendMailWithCaptcha(MailMessage msg, CaptchaCheck captcha, AsyncCallback<Boolean> callback) /*throws InvalidCaptchaException, InvalidMailException*/;
}
